﻿@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{
    ViewData["Title"] = Localizer["Title"];
}

<header>
    <h2>@ViewData["Title"].</h2>
    <p class="text-danger">@Localizer["Error"]</p>
</header>